package com.pig4cloud.pig.module.service.farm.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.module.api.entity.farm.FarmFeedRecord;
import com.pig4cloud.pig.module.mapper.farm.FarmFeedRecordMapper;
import com.pig4cloud.pig.module.service.farm.IFarmFeedRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * 农场的饲料和鸡蛋的出入记录Service业务层处理
 *
 * @author ruoyi
 * @date 2021-12-15
 */
@Service
public class FarmFeedRecordServiceImpl extends ServiceImpl<FarmFeedRecordMapper, FarmFeedRecord> implements IFarmFeedRecordService {

	@Resource
	private  FarmFeedRecordMapper feedRecordMapper;

	@Override
	public double getEggCountByMerId(Map<String, Object> map) {
		return feedRecordMapper.getEggCountByMerId(map);
	}
}
